<form [formGroup]="highForm" class="form-horizontal">
  <div class="row" style="    background-color: #00A6BA;color: #fff;line-height: 50px;margin-top: -16px;font-size: 17px;width: 520px;margin-left: -16px;padding-left: 23px;">
    高级查询
  </div>
  <div class="row">
    <div class="col-sm-12">
      <form class="form-horizontal" role="searchFile" [formGroup]="highForm">
        <div class="form-group" style="margin-top: 23px">
          <label class="control-label col-md-4">维护类型</label>
          <div class="col-md-6 col-xs-11">
            <select formControlName="maintainType1" class="selectpicker form-control selector" style="height: 33px" id="maintainType1">
              <option value=''>请选择维护类型</option>
              <option *ngFor="let gType of types" [value]="gType.oid">{{gType.name}}</option>
            </select>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-md-4">维护状态</label>
          <div class="col-md-6 col-xs-11">
            <select formControlName="maintainStatus" class="selectpicker form-control" style="height: 33px" id="maintainStatus"
            >
              <option value=''>全部</option>
              <option *ngFor="let type of statuses" [value]="type.id">{{type.name}}</option>
            </select>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-md-4">开始时间</label>
          <div class="col-md-6 col-xs-11">
            <div class="input-group date" id="startDate1">
              <input readonly formControlName="starttime1" class="form-control" type="text" id="starttime1"/>
              <span class="input-group-addon">
                          <span class="fa fa-calendar"></span>
                        </span>
            </div>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-md-4">结束时间</label>
          <div class="col-md-6 col-xs-11">
            <div class="input-group date" id="endDate1">
              <input readonly formControlName="endtime1" class="form-control" type="text" id="endtime1"/>
              <span class="input-group-addon">
                          <span class="fa fa-calendar"></span>
                        </span>
            </div>
          </div>
        </div>
      </form>
    </div>
  </div>
  <hr>
  <div class="row" style="margin-top: 10px">
    <div class="col-sm-12">
      <button type="button" class="btn btn-default" style="background-color: #424f63;color:#fff;float:right;margin: 0px 12px;" (click)="handleCancel($event)">
      取消
    </button>
      <button id="btn_submit" type="button" class="btn btn-default" style="background-color: #424f63;color:#fff;float:right" (click)="detailedSearch()">查询</button>
    </div>
  </div>
</form>
